package _2ChouXiangGongChang.abst.factory;

import _2ChouXiangGongChang.abst.Operation;

/**
 * @SubFact: 减法 抽象子类 具体工厂
 * @author: ZBoHang
 * @time: 2021/9/1 17:05
 */
public class SubFact extends Operation {
    @Override
    public double getResult(double numberA, double numberB) throws Exception {
        return numberA - numberB;
    }
}
